package cn.web.tunnelrobot.service;

import cn.web.tunnelrobot.dto.UnitInfo1;
import cn.web.tunnelrobot.pojo.UnitInfo;

import java.util.HashMap;

public interface UnitInfoService {
    HashMap<String, Object> addUnitInfo(UnitInfo1 unitInfo);

    HashMap<String, Object> updateUnitInfo(UnitInfo1 unitInfo);

    HashMap<String, Object> getUnitInfoList();

    HashMap<String, Object> deleteUnitInfoByUiId(Integer id, Integer uiLevel, Integer usId);

    HashMap<String, Object> getUnitInfoListPage(String companyName, String branchName, String projectName, String workAreaName, String usName, Integer id, Integer position, Integer uiLevel, Integer pageNo, Integer pageSize);

    HashMap<String, Object> getUnitInfoListByParentId(Integer uiParentId, Integer uiLevel);

    HashMap<String, Object> getUnitInfoById(Integer uiId, Integer uiLevel);
}
